package com.example.administrator.readbook.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/7/3.
 */

public class ChapterListBean {

    private String _id;
    private String link;
    private String name;
    private String updated;
    private String host;
    private List<ChaptersBean> chapters;

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUpdated() {
        return updated;
    }

    public void setUpdated(String updated) {
        this.updated = updated;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public List<ChaptersBean> getChapters() {
        return chapters;
    }

    public void setChapters(List<ChaptersBean> chapters) {
        this.chapters = chapters;
    }

    public static class ChaptersBean {

        private String title;
        private String link;
        private int currency;
        private boolean unreadble;
        private boolean isVip;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public int getCurrency() {
            return currency;
        }

        public void setCurrency(int currency) {
            this.currency = currency;
        }

        public boolean isUnreadble() {
            return unreadble;
        }

        public void setUnreadble(boolean unreadble) {
            this.unreadble = unreadble;
        }

        public boolean isIsVip() {
            return isVip;
        }

        public void setIsVip(boolean isVip) {
            this.isVip = isVip;
        }

        @Override
        public String toString() {
            return "ChaptersBean{" +
                    "title='" + title + '\'' +
                    ", link='" + link + '\'' +
                    ", currency=" + currency +
                    ", unreadble=" + unreadble +
                    ", isVip=" + isVip +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ChapterListBean{" +
                "_id='" + _id + '\'' +
                ", link='" + link + '\'' +
                ", name='" + name + '\'' +
                ", updated='" + updated + '\'' +
                ", host='" + host + '\'' +
                ", chapters=" + chapters +
                '}';
    }
}
